import ReactDOM from 'react-dom'
import { Component } from 'react'
import Header from './components/Header'
import Footer from './components/Footer'
//  快捷写法 rcc 导入类组件
//    rch    导入函数组件
class App extends Component {
  render() {
    return (
      <div>
        <Header />
        <Footer />
      </div>
    )
  }
}

ReactDOM.render(<App />, document.getElementById('root'))
